home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / QuickDraw3D 1.6 SDK / Mac SampleCode Previous / Grab Bag Samples - Mac / Current QD3D Libs & Headers / Interfaces / QD3DGestalt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-18  |  1.5 KB  |  54 lines  |  [TEXT/MPS ]

  1. /******************************************************************************
  2.  **                                                                              **
  3.  **     Module:        QD3DGestalt.h                                             **                        
  4.  **                                                                              **
  5.  **                                                                              **
  6.  **     Purpose:     Gestalt values for QuickDraw3D.                             **            
  7.  **                                                                              **
  8.  **                                                                              **
  9.  **                                                                              **
  10.  **     Copyright (C) 1992-1997 Apple Computer, Inc.  All rights reserved.     **
  11.  **                                                                              **
  12.  **                                                                              **
  13.  *****************************************************************************/
  14.  
  15. /*******************************************************************************
  16. These gestalt values are included in Gestalt.h from universal interfaces version 
  17. 3.0 and later.
  18.  
  19. The prefered method is to use the new version of Gestalt.h rather than this file.  
  20. If you do not have universal interfaces 3.0 or later then you must include this 
  21. file if you want access to these values.
  22. *******************************************************************************/
  23.  
  24. #ifndef QD3DGestalt_h
  25. #define QD3DGestalt_h
  26.  
  27. #ifndef QD3D_h
  28. #include "QD3D.h"
  29. #endif
  30.  
  31. #if defined(OS_MACINTOSH) && OS_MACINTOSH
  32.  
  33. enum {
  34.     gestaltQD3DVersion        = 'q3v '    /* Quickdraw 3D version in pack BCD    */
  35. };
  36.  
  37. enum {
  38.     gestaltQD3D                = 'qd3d',    /* Quickdraw 3D attributes            */
  39.     gestaltQD3DPresent        = 0            /* bit 0 set if QD3D available        */
  40. };
  41.  
  42. #if OLDROUTINENAMES
  43. enum {
  44.     gestaltQD3DNotPresent    = ( 0 << gestaltQD3DPresent ),
  45.     gestaltQD3DAvailable    = ( 1 << gestaltQD3DPresent )
  46. };
  47. #endif
  48.  
  49. #endif  /*  OS_MACINTOSH  */
  50.  
  51. #endif /* QD3DGestalt_h */
  52.  
  53.  
  54.